/*
 * @Author: 晴鸢. 3013433857@qq.com
 * @Date: 2025-08-29 10:19:41
 * @LastEditors: 晴鸢. 3013433857@qq.com
 * @LastEditTime: 2025-08-29 14:02:48
 * @FilePath: /Learn/pipe_use/Task.hpp
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
#pragma once
#include<iostream>
#include<vector>
typedef void (*task_t)(); //函数指针

void task1()
{
    std::cout<<"LoL刷新日志"<<std::endl;
}

void task2()
{
    std::cout<<"LoL刷新野怪"<<std::endl;
}

void task3()
{
    std::cout<<"LoL用户释放技能，刷新玩家蓝量和血量"<<std::endl;
}

void task4()
{
    std::cout<<"LoL检测应用是否更新并告知玩家"<<std::endl;
}

void Loadtask(std::vector<task_t>*t)
{
    t->push_back(task1);
    t->push_back(task2);
    t->push_back(task3);
    t->push_back(task4);
}